﻿using System;
using System.Runtime.Serialization;

namespace AirlineServer
{
    [DataContract]
    public class Flight
    {
        [DataMember]
        public string From { get; set; }

        [DataMember]
        public string To { get; set; }

        [DataMember]
        public DateTime Date { get; set; }

        [DataMember]
        public string Airline { get; set; }

        [DataMember]
        public string FlightId { get; set; }

        [DataMember]
        public int Price { get; set; }
    }
}
